using MediatR;
using WMS.Common;
using WMS.Domain;

namespace WMS.Api.Application.Commands.Records
{
    /// <summary>
    /// 记录表分页查询命令
    /// </summary>
    public class GetRecordsPagedQuery : IRequest<ApiResult<PagedList<Record>>>
    {
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页记录数
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 支付类型 (可选)
        /// </summary>
        public int? PayType { get; set; }

        /// <summary>
        /// 开始日期 (可选)
        /// </summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 结束日期 (可选)
        /// </summary>
        public DateTime? EndDate { get; set; }
    }
} 